home *** CD-ROM | disk | FTP | other *** search
/ Postcard CD: Niagara Parks / Postcard CD: Niagara Parks (2004).iso / mac / prv-f.dxr / Internal_23.ls < prev    next >
Encoding:
Text File  |  2002-01-10  |  1.7 KB  |  44 lines

  1. global language
  2.  
  3. on enterFrame me
  4.   sprite(21).visible = 0
  5.   sprite(22).visible = 0
  6. end
  7.  
  8. on exitFrame me
  9.   if language = 1 then
  10.     set the castLibNum of sprite 13 to castLib("english").number
  11.     set the castLibNum of sprite 21 to castLib("english").number
  12.     set the castLibNum of sprite 22 to castLib("english").number
  13.     set the castLibNum of sprite 23 to castLib("english").number
  14.   else
  15.     if language = 2 then
  16.       set the castLibNum of sprite 13 to castLib("french").number
  17.       set the castLibNum of sprite 21 to castLib("french").number
  18.       set the castLibNum of sprite 22 to castLib("french").number
  19.       set the castLibNum of sprite 23 to castLib("french").number
  20.     else
  21.       if language = 3 then
  22.         set the castLibNum of sprite 13 to castLib("german").number
  23.         set the castLibNum of sprite 21 to castLib("german").number
  24.         set the castLibNum of sprite 22 to castLib("german").number
  25.         set the castLibNum of sprite 23 to castLib("german").number
  26.       else
  27.         if language = 4 then
  28.           set the castLibNum of sprite 13 to castLib("japanese").number
  29.           set the castLibNum of sprite 21 to castLib("japanese").number
  30.           set the castLibNum of sprite 22 to castLib("japanese").number
  31.           set the castLibNum of sprite 23 to castLib("japanese").number
  32.         else
  33.           if language = 5 then
  34.             set the castLibNum of sprite 13 to castLib("spanish").number
  35.             set the castLibNum of sprite 21 to castLib("spanish").number
  36.             set the castLibNum of sprite 22 to castLib("spanish").number
  37.             set the castLibNum of sprite 23 to castLib("spanish").number
  38.           end if
  39.         end if
  40.       end if
  41.     end if
  42.   end if
  43. end
  44.